import { EventEmitter } from "events";

export default class Page extends EventEmitter {
  constructor (app, template, template_pre) {
    super();
    this.app = app;
    this.$el = document.createElement("div");
    this.$el.innerHTML = template_pre({});
    console.log(template_pre({}))
  }

  get events () {
    return {

    }
  }

  $() {

  }

  render() {
    return this.$el;
  }
}